package comparator;

import java.util.Comparator;

import bean.Grade;

public class StudentComparator implements Comparator<Grade> {

	@Override
	public int compare(Grade grade1, Grade grade2) {
		return grade1.getStudent_id().compareTo(grade2.getStudent_id());
	}

}
